package com.ym.core.config;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;


/**
 * 银联认证中心
 */
public class YinLianConfig {
    /**
     * 银联API认证账号
     */
    private String AppId;

    /**
     * 银联API认证密钥
     */
    private String AppSecret;

    /**
     * 银联用户签名密钥
     */
    private String Signature;

    /**
     * 银联用户IP白名单
     */
    private String ip;

    public List<String> getIpList(String ip) {
        return new ArrayList<String>(Arrays.asList(ip.split(",")));
    }

    public String getAppId() {
        return AppId;
    }

    public void setAppId(String appId) {
        AppId = appId;
    }

    public String getAppSecret() {
        return AppSecret;
    }

    public void setAppSecret(String appSecret) {
        AppSecret = appSecret;
    }

    public String getSignature() {
        return Signature;
    }

    public void setSignature(String signature) {
        Signature = signature;
    }
}
